package meconsea.life.cms.entity;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import org.hibernate.annotations.Type;

import meconsea.life.sys.entity.AbsEntity;
@MappedSuperclass
public class Article extends AbsEntity {
	
	@Column(name="title", length = 128)
	protected String title="";
	
	@Column(length = 128)
	protected String subtitle;
	
	@Column(length = 10240000)
	@Type(type="text")
	protected String content;
	
	@Column(length=512)
	protected String keywords;
	
	@Column(length = 1024)
	protected String summary;
	
	@Column(name="SPECIAL_ID", length = 128)
	protected String specialId;
	
	@Column(length = 32)
	protected String artClass;
	
	@Column(length = 64)
	protected String artClassName;
	
	@Column(length  = 512)
	protected String artClassPath;
	
	@Column(length = 512)
	protected String indexImg;
	
	@Column(length = 512)
	protected String homeImg;
	
	@Column(length = 512)
	protected String artResource;
	
	@Column(length = 32)
	protected String author;
	
	@Column(name = "COMMEND")
	@Type(type="integer")
	protected Integer commend;
	
	@Column(name = "top")
	@Type(type="integer")
	protected Integer top;
	
	@Column(name = "hot")
	@Type(type="integer")
	protected Integer hot;
	
	@Column(name = "COMMENT")
	@Type(type="integer")
	protected Integer comment;
	
	@Column(name = "clicks")
	@Type(type="integer")
	protected Integer clicks;
	
	@Column(name = "statusflg")
	@Type(type="integer")
	protected Integer statusFlg;
	
	@Column(name = "AUDITLEVEL")
	@Type(type="integer")
	protected Integer auditLevel;
	
	@Column(name = "htmlpath",length = 512)
	protected String htmlPath;
	
	@Column(name = "ISHEADER")
	@Type(type="integer")
	protected Integer isHeader;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSubtitle() {
		return subtitle;
	}

	public void setSubtitle(String subtitle) {
		this.subtitle = subtitle;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getKeywords() {
		return keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getSpecialId() {
		return specialId;
	}

	public void setSpecialId(String specialId) {
		this.specialId = specialId;
	}

	public String getArtClass() {
		return artClass;
	}

	public void setArtClass(String artClass) {
		this.artClass = artClass;
	}

	public String getArtClassName() {
		return artClassName;
	}

	public void setArtClassName(String artClassName) {
		this.artClassName = artClassName;
	}

	public String getArtClassPath() {
		return artClassPath;
	}

	public void setArtClassPath(String artClassPath) {
		this.artClassPath = artClassPath;
	}

	public String getIndexImg() {
		return indexImg;
	}

	public void setIndexImg(String indexImg) {
		this.indexImg = indexImg;
	}

	public String getHomeImg() {
		return homeImg;
	}

	public void setHomeImg(String homeImg) {
		this.homeImg = homeImg;
	}

	public String getArtResource() {
		return artResource;
	}

	public void setArtResource(String artResource) {
		this.artResource = artResource;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public Integer getCommend() {
		return commend;
	}

	public void setCommend(Integer commend) {
		this.commend = commend;
	}

	public Integer getTop() {
		return top;
	}

	public void setTop(Integer top) {
		this.top = top;
	}

	public Integer getHot() {
		return hot;
	}

	public void setHot(Integer hot) {
		this.hot = hot;
	}

	public Integer getComment() {
		return comment;
	}

	public void setComment(Integer comment) {
		this.comment = comment;
	}

	public Integer getClicks() {
		return clicks;
	}

	public void setClicks(Integer clicks) {
		this.clicks = clicks;
	}

	public Integer getStatusFlg() {
		return statusFlg;
	}

	public void setStatusFlg(Integer statusFlg) {
		this.statusFlg = statusFlg;
	}

	public Integer getAuditLevel() {
		return auditLevel;
	}

	public void setAuditLevel(Integer auditLevel) {
		this.auditLevel = auditLevel;
	}

	public String getHtmlPath() {
		return htmlPath;
	}

	public void setHtmlPath(String htmlPath) {
		this.htmlPath = htmlPath;
	}

	public Integer getIsHeader() {
		return isHeader;
	}

	public void setIsHeader(Integer isHeader) {
		this.isHeader = isHeader;
	}
}
